home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / satellit / pacdoc / blogdisp.h < prev    next >
C/C++ Source or Header  |  1993-05-16  |  887b  |  40 lines

  1. #define FALSE 0
  2. #define TRUE (!FALSE)
  3.  
  4.  
  5.  
  6. /* Stats structure for keeping statistics. Cleared daily */
  7. struct STAT_STRUCT {
  8.     /* n are simple counters */
  9.     long nHolefills;
  10.     long nStartFile;
  11.     long nEndFile;
  12.     long nNoFile;
  13.     long nNoRoom;
  14.     long nNotOK;
  15.     /* nb are byte counters */
  16.     long nbRequested;
  17.     long nbOverwrite;
  18.     long nbUnfresh;
  19.     long nbPfhErr;
  20.     long nbFopenErr;
  21.     long nbEnd;
  22.     long nbTransmitted;
  23.     /* nh are hole counters */
  24.     long nhRequested;
  25.     long nDirReqs;
  26.     long nbDirTxd;
  27.     /* Ticks count time */
  28.     long TicksDir;                        /* Version 2 and up */
  29.     long TicksData;                     /* Version 2 and up */
  30.     int  nNewStns;                        /* New stations heard */
  31.     /* Version 3 and up */
  32.     long nbEof;
  33.     int nLongFile;
  34. };
  35.  
  36. void sum(struct STAT_STRUCT *, struct STAT_STRUCT *, int);
  37. int process(time_t *, struct STAT_STRUCT *, int);
  38. int IsNewLog(time_t tim);
  39. int GetVer(FILE *);
  40.